<style type="text/css">
<!--
/*==============================PAGE FOOTER========================================================*/

footer{
	padding: 40px 0px 0px 0px;
}
footer nav.menu-page aside{
  float: left;
  width: 225px;
}
footer h2{
	color:#B45F04;
	margin-top: 20px;
}
footer nav.menu-page aside a{
	padding: 3px 0px;
	display: inline-block;
	font-size: 14px;
	color:#666;
}
footer nav.menu-page aside a:hover,
footer nav.menu-page aside a.-active{
	color: #00f;
	text-decoration: underline;
}
footer nav.menu-page aside > a{
	font-size: 18px;
	color:#666;
	margin-bottom: 10px;
}
footer nav.menu-page aside > a:hover,
footer nav.menu-page aside > a.-active{
	color: #FF4000;
	text-decoration: none;
}
footer .contact a{
	color:#00f;
}

-->
</style>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=446026138788338&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<nav class="menu-page" style="float: left;">
	<aside>
		<a data-id="product" href="<?php echo url_for2('product')?>">Sản phẩm</a>
		<nav>
			<?php foreach($data['cates'] as $ct):?>
			<a href="<?php echo url_for2('product', array('cate_id' => $ct['id']))?>"><?php echo $ct['name']?></a><br/>
			<?php endforeach;?>
		</nav>
	</aside>
	<aside>
		<a data-id="customer" href="<?php echo url_for2('member')?>">Khách hàng</a>
		<nav>
			<?php if(count(Members::getSessionData()) <= 0):?>
				<a href="<?php echo url_for2('member')?>">Đăng nhập</a><br/>
				<a href="<?php echo url_for2('member')?>">Đăng ký</a><br/>
			<?php endif?>
			<a href="<?php echo url_for2('member_order')?>">Đơn hàng của tôi</a><br/>
			<a href="<?php echo url_for2('member_history')?>">Lịch sử mua hàng</a><br/>
		</nav>
	</aside>
	<aside>
		<a data-id="share" href="<?php echo url_for2('news')?>">Chia sẻ</a>
		<nav>
			<?php foreach($data['shares'] as $ct):?>
			<a href="<?php echo url_for2('news', array('cate_id' => $ct['id']))?>"><?php echo $ct['name']?></a><br/>
			<?php endforeach;?>
		</nav>
	</aside>
	<div class="clr" style="border-bottom: 1px solid #ccc;height: 20px;"></div>
	<div class="contact">
		<h2>Công ty TNHH Phần mềm giáo dục Đại Việt</h2>
		Địa chỉ: 171 Lý Chính Thắng, Phường 7, Quận 3, Tp. HCM<br/>
		Điện thoại: <strong style="color:#f00">091 998 92 74</strong><br/>
		Website: <a href="http://<?php echo sfConfig::get('app_link')?>"><?php echo sfConfig::get('app_link')?></a> - Email: <a href="mailto:<?php echo sfConfig::get('app_contact_mail')?>"><?php echo sfConfig::get('app_contact_mail')?></a>
	</div>
</nav>
<aside style="width: 300px; float: right">
	<div class="fb-like-box" data-href="https://www.facebook.com/hikazu.panda" data-width="300" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="true"></div>
</aside>
<div class="clr"></div>